package com.geekaca.testthread.work.testreduce;

public class Total {
    private int total=2000;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public Total(){

    }

    public void reduceTotal(){
        this.total-=1;

    }
}
